package com.crm.controller.util;

import lombok.AllArgsConstructor;
import lombok.Data;
// 工具类 统一请求返回数据的格式(是否成功，响应数据，消息体)
@Data
public class R {
    private Boolean flag;
    private Object data;
    private String msg;


    public R(){};

    public R(Boolean flag,Object data,String msg){
        this.flag = flag;
        this.data = data;
        this.msg = msg;
    }
}
